//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "uSplash.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TfrmSplash *frmSplash;
//---------------------------------------------------------------------------
__fastcall TfrmSplash::TfrmSplash(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TfrmSplash::FormCreate(TObject *Sender)
{
	HRGN rgn;

	this->BorderStyle = bsNone;

	rgn = CreateRoundRectRgn(0,// x-coordinate of the region's upper-left corner
  0,            // y-coordinate of the region's upper-left corner
  ClientWidth,  // x-coordinate of the region's lower-right corner
  ClientHeight, // y-coordinate of the region's lower-right corner
  20,           // height of ellipse for rounded corners
  20);          // width of ellipse for rounded corners
  SetWindowRgn(Handle, rgn, True);
}
//---------------------------------------------------------------------------

